package com.ddlottery.dao;

import com.ddlottery.model.DDadmin;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Repository
public interface DDadminMapper {
    int deleteByPrimaryKey(Integer aid);

    int insert(DDadmin record);

    int insertSelective(DDadmin record);

    DDadmin selectByPrimaryKey(Integer aid);

    int updateByPrimaryKeySelective(DDadmin record);

    int updateByPrimaryKey(DDadmin record);

    ArrayList<DDadmin> selectAll(PageBounds pageBounds);
}